package com.gss.gateway.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: DYang
 * @since: 2023/8/11
 * 模拟测试
 */
@Api(tags = "模拟测试")
@RestController
@RequestMapping("/test")
public class TestController {

    /**
     * 测试接口
     * @return
     */
    @GetMapping("/hello")
    @ApiOperation(value = "测试接口",tags = "模拟测试")
    public String hello(){
        return "hello";
    }

    @GetMapping("/hello2")
    @ApiOperation(value = "hello世界",tags = "模拟测试")
    public String hello2(){
        return "hello world!!";
    }

}
